/*****************************************************************************************
   
   Copyright (c) Microsoft Corporation. All rights reserved.

   Use of this code sample is subject to the terms of the Microsoft
   Permissive License, a copy of which should always be distributed with
   this file.  You can also access a copy of this license agreement at:
   http://www.microsoft.com/resources/sharedsource/licensingbasics/permissivelicense.mspx

 ****************************************************************************************/

using System;

namespace GrooveWebServicesV12Controls
{
	/// <summary>
	/// 
	/// </summary>
	public class SpaceTreeNode : System.Windows.Forms.TreeNode
	{
		private GrooveWebServicesV12Helpers.Space m_Space;

		public SpaceTreeNode(GrooveWebServicesV12Helpers.Space i_Space)
		{
			m_Space = i_Space;
		}

		public GrooveWebServicesV12Helpers.Space Space
		{
			get
			{
				return m_Space;
			}
		}

		public override string ToString()
		{
			return m_Space.Name;
		}
	}
}
